package com.geguol.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 作者：13687
 * 日期：2017/7/28
 * 项目：telcom
 * 描述：将配置文件封装成对象
 */
@Component
@ConfigurationProperties(prefix = "girl")
public class GirlProperties {
	private String cupSize;
	private Integer age;

	public String getCupSize() {
		return cupSize;
	}

	public void setCupSize(String cupSize) {
		this.cupSize = cupSize;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
}
